package com.tramy.data.export.mapper;

import com.tramy.data.export.annotation.DataSourceChoice;
import com.tramy.data.export.datasource.DatabaseType;
import com.tramy.data.export.model.TramyEmployee;
import com.tramy.data.export.model.TramyEmployeeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TramyEmployeeMapper {
    int countByExample(TramyEmployeeExample example);

    int deleteByExample(TramyEmployeeExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TramyEmployee record);

    int insertSelective(TramyEmployee record);

    List<TramyEmployee> selectByExample(TramyEmployeeExample example);

    TramyEmployee selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TramyEmployee record, @Param("example") TramyEmployeeExample example);

    int updateByExample(@Param("record") TramyEmployee record, @Param("example") TramyEmployeeExample example);

    int updateByPrimaryKeySelective(TramyEmployee record);

    int updateByPrimaryKey(TramyEmployee record);

    void batchInsert(@Param("employeeList") List<TramyEmployee> employeeList);
}